package com.jsmile.cloud.authc.api.enums;

public enum AuthcCodeEnum {

    ERROR_USER(110001, "非法用户!"), USER_NOT_EXISTS(110002, "用户不存在!"), DICT_COTE_EXISTS(120001, "字典编码或字典名称已经存在!"),;

    /**
     * 错误信息
     */
    private String resMsg;
    /**
     * 错误码
     */
    private Integer resCode;

    AuthcCodeEnum(int resCode, String resMsg) {
        this.resCode = resCode;
        this.resMsg = resMsg;
    }

    public String getResMsg() {
        return resMsg;
    }

    public void setResMsg(String resMsg) {
        this.resMsg = resMsg;
    }

    public Integer getResCode() {
        return resCode;
    }

    public void setResCode(Integer resCode) {
        this.resCode = resCode;
    }
}
